﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Text;
using Abp.Application.Services.Dto;
using Abp.AutoMapper;
using Abp.Domain.Entities.Auditing;
using FwProject.ShoppingMall.Com;

namespace FwProject.Com.Dto
{
    /// <summary>
    /// 供应商模型
    /// </summary>
    [AutoMap(typeof(ShopSupplier))]
    public class ShopSupplierDto: EntityDto<Guid>
    {
        /// <summary>
        /// 供应商名称
        /// </summary>
        [Display(Name = "供应商名称")]
        public string SupplierName { get; set; }

        /// <summary>
        /// 供应商电话
        /// </summary>
        [Display(Name = "供应商电话")]
        public string SupplierTel { get; set; }

        /// <summary>
        /// 供应商地址
        /// </summary>
        [Display(Name = "供应商地址")]
        public string SupplierAddress { get; set; }

        /// <summary>
        /// 是否激活（实现IPassivable接口）
        /// </summary>
        [Display(Name = "是否激活")]
        public bool IsActive { get; set; } = true;
        /// <summary>
        /// 
        /// </summary>
        public DateTime CreationTime { get; set; }
    }
}
